package bdqn.t09.service.impl;

import bdqn.t09.dao.PsInspectiontaskDetailMapper;
import bdqn.t09.pojo.PsInspectiontaskDetail;
import bdqn.t09.service.PsInspectiontaskDetailService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class PsInspectiontaskDetailServiceImpl implements PsInspectiontaskDetailService {
    @Resource
    private PsInspectiontaskDetailMapper psInspectiontaskDetailMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return psInspectiontaskDetailMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(PsInspectiontaskDetail record) {
        return psInspectiontaskDetailMapper.insert(record);
    }

    @Override
    public int insertSelective(PsInspectiontaskDetail record) {
        return psInspectiontaskDetailMapper.insertSelective(record);
    }

    @Override
    public PsInspectiontaskDetail selectByPrimaryKey(Long id) {
        return psInspectiontaskDetailMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(PsInspectiontaskDetail record) {
        return psInspectiontaskDetailMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(PsInspectiontaskDetail record) {
        return psInspectiontaskDetailMapper.updateByPrimaryKey(record);
    }
}
